package com.huike.contract.domain.mapper;

import com.huike.common.core.domain.AjaxResult;
import com.huike.common.core.domain.BaseEntity;
import com.huike.common.core.page.PageDomain;
import com.huike.contract.domain.TbContract;
import com.huike.contract.domain.vo.TransferVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description TODO
 * @Author liu
 * @Date 2023-07-11 14:40
 */
@Mapper
public interface ContractMapper {

    /**
     * 新增合同
     * @param tbContract
     */
    void addContract(TbContract tbContract);

    /**
     * 修改合同
     * @param baseEntity
     */
    void revampContract(BaseEntity baseEntity);

    /**
     * 查询合同列表
     * @param tbContract
     * @return
     */
    List<TbContract> list(TbContract tbContract);
}
